package org.javaboy.vhr.mapper;

import org.javaboy.vhr.model.LeaveApplication;
import java.util.List;

public interface LeaveApplicationMapper {
    int addLeaveApplication(LeaveApplication leaveApplication);

    List<LeaveApplication> selectAll();

    List<LeaveApplication> getLeaveApplicationsByEmployeeId(Integer employeeId);

    int approveLeaveApplication(LeaveApplication leaveApplication);

   int file(LeaveApplication leaveApplication);
}
